<?php
class DoSignoutAction extends FrontendAction
{
	public function execute()
	{
		$this->view->result = UserService::signoutUser();
		$this->view->result["return_url"] = Url::generate("User", "Signin", array("return_url" => $this->context->request('return_url')));
		$this->view->render();
	}
}